home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 4-Demos / Apple Demos / Tutorials / Display Card 4•8⁄8•24 Training / Display Card 4•8_8•24 Training / card_23933.txt < prev    next >
Text File  |  1990-03-19  |  15KB  |  714 lines

  1. -- card: 23933 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 10579
  5. -- name: test 3
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global inprogress
  9.   if inprogress is false then show cd fld "instruction 1"
  10.   hide cd fld "ClicktoContinue"
  11.   show cd btn "Check my Answers"
  12.   --repeat with f = 15 to 24
  13.   --hide cd fld f
  14.   --end repeat
  15.   repeat with x = 1 to 5
  16.     hide cd fld ("responses" && x)
  17.   end repeat
  18. end openCard
  19.  
  20. on closeCard
  21.   global maploc, cardloc
  22.   put word 1 of the short name of this card into maploc
  23.   put word 2 of the short name of this card into cardloc
  24.   push card
  25. end closeCard
  26.  
  27.  
  28.  
  29. -- part 1 (field)
  30. -- low flags: 01
  31. -- high flags: 4000
  32. -- rect: left=127 top=112 right=131 bottom=210
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 0
  36. -- font id: 156
  37. -- text size: 14
  38. -- style flags: 0
  39. -- line height: 16
  40. -- part name: answer 1
  41. ----- HyperTalk script -----
  42. on mouseup
  43.   toggleResponses
  44. end mouseup
  45.  
  46.  
  47.  
  48. -- part 2 (field)
  49. -- low flags: 01
  50. -- high flags: 4000
  51. -- rect: left=126 top=160 right=176 bottom=341
  52. -- title width / last selected line: 0
  53. -- icon id / first selected line: 0 / 0
  54. -- text alignment: 0
  55. -- font id: 156
  56. -- text size: 14
  57. -- style flags: 0
  58. -- line height: 16
  59. -- part name: answer 2
  60. ----- HyperTalk script -----
  61. on mouseup
  62.   toggleResponses
  63. end mouseup
  64.  
  65.  
  66.  
  67. -- part 3 (field)
  68. -- low flags: 01
  69. -- high flags: 4000
  70. -- rect: left=325 top=223 right=243 bottom=429
  71. -- title width / last selected line: 0
  72. -- icon id / first selected line: 0 / 0
  73. -- text alignment: 0
  74. -- font id: 156
  75. -- text size: 14
  76. -- style flags: 0
  77. -- line height: 16
  78. -- part name: answer 3
  79. ----- HyperTalk script -----
  80. on mouseup
  81.   toggleResponses
  82. end mouseup
  83.  
  84.  
  85. -- part 6 (field)
  86. -- low flags: 81
  87. -- high flags: 2004
  88. -- rect: left=14 top=50 right=126 bottom=116
  89. -- title width / last selected line: 0
  90. -- icon id / first selected line: 0 / 0
  91. -- text alignment: 0
  92. -- font id: 158
  93. -- text size: 14
  94. -- style flags: 0
  95. -- line height: 16
  96. -- part name: responses 1
  97. ----- HyperTalk script -----
  98. on mouseup
  99.   chooseResponses
  100. end mouseup
  101.  
  102.  
  103.  
  104. -- part 8 (field)
  105. -- low flags: 81
  106. -- high flags: 2004
  107. -- rect: left=6 top=58 right=136 bottom=255
  108. -- title width / last selected line: 0
  109. -- icon id / first selected line: 0 / 0
  110. -- text alignment: 0
  111. -- font id: 158
  112. -- text size: 14
  113. -- style flags: 0
  114. -- line height: 16
  115. -- part name: responses 2
  116. ----- HyperTalk script -----
  117. on mouseup
  118.   chooseResponses
  119. end mouseup
  120.  
  121.  
  122.  
  123. -- part 9 (field)
  124. -- low flags: 81
  125. -- high flags: 2004
  126. -- rect: left=0 top=68 right=126 bottom=129
  127. -- title width / last selected line: 0
  128. -- icon id / first selected line: 0 / 0
  129. -- text alignment: 0
  130. -- font id: 158
  131. -- text size: 14
  132. -- style flags: 0
  133. -- line height: 16
  134. -- part name: responses 3
  135. ----- HyperTalk script -----
  136. on mouseup
  137.   chooseResponses
  138. end mouseup
  139.  
  140.  
  141.  
  142. -- part 10 (field)
  143. -- low flags: 81
  144. -- high flags: 2004
  145. -- rect: left=12 top=269 right=342 bottom=49
  146. -- title width / last selected line: 0
  147. -- icon id / first selected line: 0 / 0
  148. -- text alignment: 0
  149. -- font id: 158
  150. -- text size: 14
  151. -- style flags: 0
  152. -- line height: 16
  153. -- part name: responses 4
  154. ----- HyperTalk script -----
  155. on mouseup
  156.   chooseResponses
  157. end mouseup
  158.  
  159.  
  160.  
  161. -- part 11 (field)
  162. -- low flags: 81
  163. -- high flags: 2004
  164. -- rect: left=7 top=140 right=218 bottom=79
  165. -- title width / last selected line: 0
  166. -- icon id / first selected line: 0 / 0
  167. -- text alignment: 0
  168. -- font id: 158
  169. -- text size: 14
  170. -- style flags: 0
  171. -- line height: 16
  172. -- part name: responses 5
  173. ----- HyperTalk script -----
  174. on mouseup
  175.   chooseResponses
  176. end mouseup
  177.  
  178.  
  179.  
  180. -- part 7 (field)
  181. -- low flags: 81
  182. -- high flags: 0007
  183. -- rect: left=384 top=19 right=105 bottom=512
  184. -- title width / last selected line: 0
  185. -- icon id / first selected line: 0 / 0
  186. -- text alignment: 0
  187. -- font id: 3
  188. -- text size: 9
  189. -- style flags: 0
  190. -- line height: 12
  191. -- part name: Your Responses
  192.  
  193.  
  194. -- part 13 (field)
  195. -- low flags: 81
  196. -- high flags: 0002
  197. -- rect: left=369 top=19 right=105 bottom=385
  198. -- title width / last selected line: 0
  199. -- icon id / first selected line: 0 / 0
  200. -- text alignment: 0
  201. -- font id: 3
  202. -- text size: 9
  203. -- style flags: 0
  204. -- line height: 12
  205. -- part name: Your Answers
  206.  
  207.  
  208. -- part 14 (field)
  209. -- low flags: 80
  210. -- high flags: 0002
  211. -- rect: left=15 top=8 right=53 bottom=33
  212. -- title width / last selected line: 0
  213. -- icon id / first selected line: 0 / 0
  214. -- text alignment: 0
  215. -- font id: 3
  216. -- text size: 9
  217. -- style flags: 0
  218. -- line height: 12
  219. -- part name: our Answers
  220.  
  221.  
  222. -- part 15 (field)
  223. -- low flags: 81
  224. -- high flags: 0002
  225. -- rect: left=0 top=25 right=113 bottom=53
  226. -- title width / last selected line: 0
  227. -- icon id / first selected line: 0 / 0
  228. -- text alignment: 0
  229. -- font id: 3
  230. -- text size: 9
  231. -- style flags: 0
  232. -- line height: 12
  233. -- part name: memoList
  234.  
  235.  
  236. -- part 18 (button)
  237. -- low flags: 00
  238. -- high flags: A003
  239. -- rect: left=132 top=312 right=339 bottom=274
  240. -- title width / last selected line: 0
  241. -- icon id / first selected line: 0 / 0
  242. -- text alignment: 1
  243. -- font id: 0
  244. -- text size: 12
  245. -- style flags: 0
  246. -- line height: 16
  247. -- part name: Check my answers
  248. ----- HyperTalk script -----
  249. on mouseUp
  250.   global memolist, testNumber, inProgress
  251.   put "" into memolist
  252.   set the cursor to busy
  253.   put 1 into r
  254.   repeat with r = 1 to the number of lines in cd fld "Our Answers"
  255.     if line r of cd fld "your Responses" is "" then
  256.       answer "You're not done, yet!" with "Ooops!"
  257.       put true into tryAgain
  258.       exit mouseup
  259.     else
  260.       put 1 into rLine
  261.       put false into tryAgain
  262.       repeat with r = 1 to the number of lines of cd fld "Our Answers"
  263.         if line rLine of cd fld "Your Answers" is in line rLine of cd fld "Our Answers" then
  264.           put true into okAnswer
  265.         else
  266.           put false into okAnswer
  267.         end if
  268.         if okAnswer then
  269.           put true into line rline of cd fld "memoList"
  270.           put true into item r of memolist
  271.         else
  272.           put false into line rline of cd fld "memolist"
  273.           put false into item r of memolist
  274.         end if
  275.         add 1 to rLine
  276.       end repeat
  277.     end if
  278.   end repeat
  279.   if tryAgain is false then
  280.     set cursor to hand
  281.     hide cd btn "Check my answers"
  282.     show cd fld "clicktocontinue"
  283.   end if
  284.  
  285.   put "3" into testnumber
  286.   repeat with i = 1 to the number of lines of cd fld "MemoList"
  287.     put ("review" && i) into theButton
  288.     set the hilite of cd btn theButton to true
  289.     get line i of cd fld "MemoList"
  290.     if it is true then
  291.       put ("comment" && i && "true") into theComment
  292.       show cd fld theComment
  293.     else
  294.       put ("comment" && i && "false") into theComment
  295.       show cd fld theComment
  296.     end if
  297.     wait until the mouseclick
  298.     set the hilite of cd btn theButton to false
  299.     hide cd fld theComment
  300.   end repeat
  301.   hide cd fld "clicktocontinue"
  302.   if cd fld "MemoList" contains "False" then
  303.     answer "Do you want to try again?" with "Yes" or "No"
  304.     if it is "Yes" then
  305.       put empty into cd fld "memolist"
  306.       put true into inProgress
  307.       show cd btn "Check my Answers"
  308.       send opencard
  309.       exit mouseup
  310.     else
  311.       ScoreReview
  312.     end if
  313.   else
  314.     ScoreReview
  315.   end if
  316. end mouseUp
  317.  
  318.  
  319.  
  320. -- part 24 (button)
  321. -- low flags: 00
  322. -- high flags: 2000
  323. -- rect: left=118 top=113 right=130 bottom=216
  324. -- title width / last selected line: 0
  325. -- icon id / first selected line: 0 / 0
  326. -- text alignment: 1
  327. -- font id: 0
  328. -- text size: 12
  329. -- style flags: 0
  330. -- line height: 16
  331. -- part name: review 1
  332. ----- HyperTalk script -----
  333. on mouseUp
  334.   hide card field "instruction 1"
  335.   toggleResponses
  336. end mouseUp
  337.  
  338.  
  339.  
  340. -- part 25 (button)
  341. -- low flags: 00
  342. -- high flags: 2000
  343. -- rect: left=128 top=159 right=177 bottom=289
  344. -- title width / last selected line: 0
  345. -- icon id / first selected line: 0 / 0
  346. -- text alignment: 1
  347. -- font id: 0
  348. -- text size: 12
  349. -- style flags: 0
  350. -- line height: 16
  351. -- part name: review 2
  352. ----- HyperTalk script -----
  353. on mouseUp
  354.   toggleResponses
  355. end mouseUp
  356.  
  357.  
  358.  
  359. -- part 26 (button)
  360. -- low flags: 00
  361. -- high flags: 2000
  362. -- rect: left=325 top=222 right=241 bottom=430
  363. -- title width / last selected line: 0
  364. -- icon id / first selected line: 0 / 0
  365. -- text alignment: 1
  366. -- font id: 0
  367. -- text size: 12
  368. -- style flags: 0
  369. -- line height: 16
  370. -- part name: review 3
  371. ----- HyperTalk script -----
  372. on mouseUp
  373.   toggleResponses
  374. end mouseUp
  375.  
  376.  
  377.  
  378. -- part 29 (field)
  379. -- low flags: 81
  380. -- high flags: 2004
  381. -- rect: left=32 top=194 right=275 bottom=318
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 0 / 0
  384. -- text alignment: 1
  385. -- font id: 158
  386. -- text size: 14
  387. -- style flags: 0
  388. -- line height: 18
  389. -- part name: Comment 1 false
  390.  
  391.  
  392. -- part 30 (field)
  393. -- low flags: 81
  394. -- high flags: 2004
  395. -- rect: left=151 top=5 right=98 bottom=512
  396. -- title width / last selected line: 0
  397. -- icon id / first selected line: 0 / 0
  398. -- text alignment: 1
  399. -- font id: 158
  400. -- text size: 14
  401. -- style flags: 0
  402. -- line height: 18
  403. -- part name: Comment 1 true
  404.  
  405.  
  406. -- part 31 (field)
  407. -- low flags: 81
  408. -- high flags: 2004
  409. -- rect: left=2 top=2 right=82 bottom=339
  410. -- title width / last selected line: 0
  411. -- icon id / first selected line: 0 / 0
  412. -- text alignment: 1
  413. -- font id: 158
  414. -- text size: 14
  415. -- style flags: 0
  416. -- line height: 18
  417. -- part name: Comment 2 false
  418.  
  419.  
  420. -- part 32 (field)
  421. -- low flags: 81
  422. -- high flags: 2004
  423. -- rect: left=262 top=55 right=153 bottom=512
  424. -- title width / last selected line: 0
  425. -- icon id / first selected line: 0 / 0
  426. -- text alignment: 1
  427. -- font id: 158
  428. -- text size: 14
  429. -- style flags: 0
  430. -- line height: 18
  431. -- part name: Comment 2 true
  432.  
  433.  
  434. -- part 34 (field)
  435. -- low flags: 81
  436. -- high flags: 2004
  437. -- rect: left=74 top=248 right=329 bottom=350
  438. -- title width / last selected line: 0
  439. -- icon id / first selected line: 0 / 0
  440. -- text alignment: 1
  441. -- font id: 158
  442. -- text size: 14
  443. -- style flags: 0
  444. -- line height: 18
  445. -- part name: Comment 3 false
  446.  
  447.  
  448. -- part 35 (field)
  449. -- low flags: 81
  450. -- high flags: 2004
  451. -- rect: left=262 top=93 right=215 bottom=512
  452. -- title width / last selected line: 0
  453. -- icon id / first selected line: 0 / 0
  454. -- text alignment: 1
  455. -- font id: 158
  456. -- text size: 14
  457. -- style flags: 0
  458. -- line height: 18
  459. -- part name: Comment 3 true
  460.  
  461.  
  462. -- part 36 (field)
  463. -- low flags: 81
  464. -- high flags: 2004
  465. -- rect: left=11 top=108 right=190 bottom=319
  466. -- title width / last selected line: 0
  467. -- icon id / first selected line: 0 / 0
  468. -- text alignment: 1
  469. -- font id: 158
  470. -- text size: 14
  471. -- style flags: 0
  472. -- line height: 18
  473. -- part name: Comment 4 false
  474.  
  475.  
  476. -- part 37 (field)
  477. -- low flags: 81
  478. -- high flags: 2004
  479. -- rect: left=10 top=108 right=192 bottom=318
  480. -- title width / last selected line: 0
  481. -- icon id / first selected line: 0 / 0
  482. -- text alignment: 1
  483. -- font id: 158
  484. -- text size: 14
  485. -- style flags: 0
  486. -- line height: 18
  487. -- part name: Comment 4 true
  488.  
  489.  
  490. -- part 39 (field)
  491. -- low flags: 81
  492. -- high flags: 2004
  493. -- rect: left=8 top=126 right=205 bottom=314
  494. -- title width / last selected line: 0
  495. -- icon id / first selected line: 0 / 0
  496. -- text alignment: 1
  497. -- font id: 158
  498. -- text size: 14
  499. -- style flags: 0
  500. -- line height: 18
  501. -- part name: Comment 5 false
  502.  
  503.  
  504. -- part 40 (field)
  505. -- low flags: 81
  506. -- high flags: 2004
  507. -- rect: left=6 top=133 right=218 bottom=314
  508. -- title width / last selected line: 0
  509. -- icon id / first selected line: 0 / 0
  510. -- text alignment: 1
  511. -- font id: 158
  512. -- text size: 14
  513. -- style flags: 0
  514. -- line height: 18
  515. -- part name: Comment 5 true
  516.  
  517.  
  518. -- part 41 (field)
  519. -- low flags: 81
  520. -- high flags: 2004
  521. -- rect: left=59 top=312 right=341 bottom=277
  522. -- title width / last selected line: 0
  523. -- icon id / first selected line: 0 / 0
  524. -- text alignment: 1
  525. -- font id: 157
  526. -- text size: 14
  527. -- style flags: 0
  528. -- line height: 18
  529. -- part name: ClicktoContinue
  530.  
  531.  
  532. -- part 45 (field)
  533. -- low flags: 81
  534. -- high flags: 0007
  535. -- rect: left=0 top=20 right=331 bottom=129
  536. -- title width / last selected line: 0
  537. -- icon id / first selected line: 0 / 0
  538. -- text alignment: 0
  539. -- font id: 156
  540. -- text size: 14
  541. -- style flags: 0
  542. -- line height: 18
  543. -- part name: instruction 1
  544. ----- HyperTalk script -----
  545. on mouseup
  546.   hide me
  547. end mouseup
  548.  
  549.  
  550.  
  551. -- part 48 (button)
  552. -- low flags: 00
  553. -- high flags: 2000
  554. -- rect: left=484 top=317 right=342 bottom=512
  555. -- title width / last selected line: 0
  556. -- icon id / first selected line: 18613 / 18613
  557. -- text alignment: 1
  558. -- font id: 0
  559. -- text size: 12
  560. -- style flags: 0
  561. -- line height: 16
  562. -- part name: return
  563. ----- HyperTalk script -----
  564. on mouseUp
  565.   go card "test 0"
  566. end mouseUp
  567.  
  568.  
  569.  
  570. -- part contents for background part 10
  571. ----- text -----
  572. Compatability (Software)
  573.  
  574.  
  575. -- part contents for background part 4
  576. ----- text -----
  577. Macintosh Display Card 4‚Ä¢8 and 8‚Ä¢24
  578.  
  579. -- part contents for background part 5
  580. ----- text -----
  581. Training Evaluation
  582.  
  583. -- part contents for card part 6
  584. ----- text -----
  585. virtually
  586. practically
  587. almost
  588. absolutely
  589.  
  590. -- part contents for card part 8
  591. ----- text -----
  592. Only 10% of existing software
  593. There's virtually no software 
  594. Non-QuickDraw -based programs
  595. Original Macintosh II software
  596.  
  597.  
  598. -- part contents for card part 9
  599. ----- text -----
  600. 6.0.5 or greater
  601. 5.0 or greater
  602. 7.0 or greater
  603.  
  604.  
  605. -- part contents for card part 10
  606. ----- text -----
  607. 10
  608. 20
  609. 30
  610. 50
  611.  
  612. -- part contents for card part 11
  613. ----- text -----
  614. three
  615. five
  616. ten
  617. 150
  618.  
  619. -- part contents for card part 14
  620. ----- text -----
  621. 1
  622. 2
  623. 1
  624.  
  625. -- part contents for card part 29
  626. ----- text -----
  627.  
  628. No.  Please take another look through the Features and Advantages section.
  629.  
  630. -- part contents for card part 30
  631. ----- text -----
  632.  
  633. You're absolutely correct. 
  634. These display cards will work with virtually all applications on the market today.
  635.  
  636. -- part contents for card part 31
  637. ----- text -----
  638.  
  639. Not really.  Recheck your answer.
  640.  
  641. -- part contents for card part 32
  642. ----- text -----
  643.  
  644. Yes.  The number of programs that might not work with these cards is very small.
  645.  
  646. -- part contents for card part 34
  647. ----- text -----
  648.  
  649. No.  This is an important detail that you should review.
  650.  
  651. -- part contents for card part 35
  652. ----- text -----
  653.  
  654. Correct! 
  655. Any earlier version of the System will not work.  6.0.5 was written to take advantage of the capabilities of this card.
  656.  
  657. -- part contents for card part 36
  658. ----- text -----
  659.  
  660. You may need to study 
  661. the Technology section more closely.
  662.  
  663. -- part contents for card part 37
  664. ----- text -----
  665.  
  666. You seem to have studied 
  667. the Technology section well.
  668.  
  669. -- part contents for card part 39
  670. ----- text -----
  671.  
  672. Check your figures, 
  673. this ratio is important to customers.
  674.  
  675. -- part contents for card part 40
  676. ----- text -----
  677.  
  678. Yes ‚Äì the AMLCD is 
  679. noticeably faster than other LCD screens.
  680.  
  681. -- part contents for card part 41
  682. ----- text -----
  683. Click the mouse to continue.
  684.  
  685.  
  686. -- part contents for card part 45
  687. ----- text -----
  688. Instructions: 
  689. (click on this text to hide it)
  690.  
  691. 1.  Click on the   blank line. A list of choices appears
  692.  
  693. 2.  Click on the choice you want, it appears in the sentence. 
  694.  
  695. You can change any of your choices by clicking on it, then selecting another choice.
  696.  
  697. 3.  When you‚Äôve completed the entries, click on the ‚ÄúCheck my Answers‚Äù button.
  698.  
  699. During the review, you‚Äôll find out whether you made the correct choices.
  700.  
  701. Afterwards, you can try again or go back to the menu for this section.
  702.  
  703. -- part contents for background part 6
  704. ----- text -----
  705.  
  706. The  Macintosh Display Cards 4‚Ä¢8 and 8‚Ä¢24 will work with
  707.                              all Macintosh applications.
  708.  
  709.  
  710.                                                                       does not work with these cards.
  711.  
  712.  
  713. This video card requires System                                   .
  714.